ci: route CI through SciML/.github reusable workflows (@v1)#603
Merged
ChrisRackauckas merged 1 commit intoJun 4, 2026
Merged
Conversation
Convert bespoke standard workflows to thin callers of the reusable workflows in SciML/.github (@v1), preserving each workflow's existing matrices, triggers, and config: - Downgrade.yml -> downgrade.yml@v1 (group=Core, julia 1.10, skip=Pkg,TOML, allow-reresolve=false) - Downstream.yml -> downstream.yml@v1 (full SciML downstream package/group matrix preserved) - FormatCheck.yml -> runic.yml@v1 (Runic format check) - SpellCheck.yml -> spellcheck.yml@v1 Left bespoke intentionally: - Tests.yml: sets JULIA_NUM_THREADS=2 to exercise the threaded FastBroadcast/VectorOfArray{SArray} regression tests (issues SciML#564/SciML#570); tests.yml@v1 has no thread input, so converting would drop that coverage. - GPU.yml: targets a specific [self-hosted, Linux, X64, gpu] runner with GROUP=GPU; the reusable self-hosted input resolves to a bare `self-hosted` label and cannot target the GPU runner. - Documentation.yml: already a reusable caller (documentation.yml@v1). - TagBot.yml: non-CI release automation, no reusable equivalent. Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Centralize CI through SciML/.github reusable workflows (@v1)
This routes the repo's bespoke standard GitHub Actions workflows through the shared reusable workflows in
SciML/.github/.github/workflows/*.yml@v1, preserving each workflow's existing matrices, triggers, and config. Pure YAML/git rewiring — no source changes.Converted workflows
Downgrade.ymldowngrade.yml@v1group: Core,julia-version: 1.10,skip: Pkg,TOML,allow-reresolve: false; master push/PR triggers +paths-ignore: docs/**Downstream.ymldownstream.yml@v1julia-version: 1;IntegrationTestname + triggersFormatCheck.ymlrunic.yml@v1SpellCheck.ymlspellcheck.yml@v1pull_requesttriggerIntentionally left bespoke (coverage cannot be faithfully expressed by a reusable)
Tests.yml— setsJULIA_NUM_THREADS: "2"on the runtest step to exercise the threadedFastBroadcast/VectorOfArray{SArray}regression tests (issues Multithreading withRecursiveArrayTools.VectorOfArrayis broken #564 / Multi-threadingVectorOfArrayofSVectors is broken on RecursiveArrayTools.jl version 4 #570) intest/interface_tests.jl. The reusabletests.yml@v1has no thread input, so converting it would silently run those tests single-threaded and drop the regression coverage. Per the centralization spec ("never lose coverage"), this workflow is left as-is.GPU.yml— targets a specific[self-hosted, Linux, X64, gpu]runner withGROUP=GPU. The reusableself-hostedinput resolves to a bareself-hostedlabel and cannot target the GPU-labeled runner, so this is left local.Documentation.yml— already a thin caller ofdocumentation.yml@v1; untouched.TagBot.yml— non-CI release automation (JuliaRegistries/TagBot); no reusable equivalent, left local.Monorepo / sublibrary handling
The repo has 3 sublibraries under
lib/(RecursiveArrayToolsArrayPartitionAnyAll,RecursiveArrayToolsRaggedArrays,RecursiveArrayToolsShorthandConstructors), each with its ownProject.toml+test/. However, there is no per-sublibrary CI (noCI_*.yml, noSublibraryCI.yml, noDowngradeSublibraries.yml). The sublibraries are tested asGROUPs of the main package's singleTests.yml(RaggedArrays,ArrayPartitionAnyAll,ShorthandConstructors), and none of them carry thetest/test_groups.tomlthatsublibrary-tests.yml@v1auto-discovery requires. Introducing aSublibraryCI.ymlhere would discover nothing and would not replace the existing GROUP-based coverage, so no sublibrary CI workflow was added (N/A). SinceTests.ymlis left bespoke for the threading reason above, its sublibrary GROUP coverage is preserved unchanged.NOTE: required-status-check names change
Converting to reusable workflows changes the job names that appear as status checks (e.g. the reusable emits
Tests / Downstream Tests - ...,Downgrade,Runic,Spell Check with Typos). Branch protection required-status-check names must be updated accordingly, or required checks will report as missing.Please ignore until reviewed by @ChrisRackauckas.